package PageOR;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import org.openqa.selenium.support.PageFactory;

public class SelectAFlight 
{
	WebDriver driver;
	
	@FindBy(how = How.XPATH, using = "//form/table[1]")
	public WebElement tbl_DepartTable;
	
	@FindBy(how = How.XPATH, using = "//form/table[1]")
	public WebElement tbl_ReturnTable;
	
	@FindBy(how = How.XPATH, using = "//input[@src='/images/forms/continue.gif']")
	public WebElement btn_Continue;
	
	public SelectAFlight(WebDriver driver)
	{
		this.driver=driver;
	}
	
	public boolean func_FindFlights()
	{
		btn_Continue.submit();
		return false;
		
	}
	
}
